package com.llmm.eduService.controller;


import com.llmm.aspect.SysControllerLog;
import com.llmm.bean.RestRet;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/edu")
public class DemoController {

    @GetMapping("test")
    @SysControllerLog()
    public RestRet<String> getLogAction(){
        RestRet<String> resultSet = new RestRet("你好呀",2,"日志测试成功");
        return resultSet;
    }
}
